package com.pktechan.manage.service;

import com.pktechan.manage.base.BaseService;
import com.pktechan.manage.entity.SysUser;
import com.pktechan.manage.vo.SysUserVO;

import java.util.Map;


public interface SysUserService extends BaseService<SysUser> {
    /**
     * 重置密码
     * @param sysUser
     */
    void updateSystemUserPwd(SysUser sysUser);

    /**
     * 删除指定的用户信息。
     * @param userId
     */
    void deleteSystemUser(Integer userId) throws Exception;

    /**
     *批量删除指定的用户信息。
     * @param user
     * @param id
     * @return
     */
    boolean deleteUserAll(SysUserVO user, int id) throws Exception;

    Map getSystemUserList(SysUser sysUser) throws Exception;

    void updateSystemUser(SysUserVO user);
}
